/**
 * 课程查询参数
 */
export interface CourseQuery extends PageQuery {
  courseType?: number;
  // 学期
  semester?: string;
  // 课程名称
  keywords?: string;
}

export interface CourseInfo {
  id: number;
  name: string;
  wallpaperUrl: string;
  courseRoles: string[];
  coursePerms: string[];
}

/**
 * 获取课程列表返回参数信息
 */
export interface CoursePageVO {
  leaderName: string;
  id: number;
  name: string;
  wallpaperUrl: string;
  startTime: string;
  endTime: string;
  semester: string;
  classId: string;
  createTime: string;
  updateTime: string;
  deptName: string;
  classes: [];
  assistants: [];
  nickname: string;
}
/**
 * 提交课程配置表单
 */
export interface Courseinfo {
  value?: any;
  name?: string;
  endTime?: string;
  leaderName?: string;
  avatar?: string;
  semester?: string;
  wallpaperUrl?: string;
  status?: number;
  statusLabel?: string;
  nickname?: string;
  roles: string[];
  perms?: string[];
}

/**
 * 编辑课程表单类型
 */
export interface EditCourseForm {
  /**
   * 课程名
   */
  name: string;
  /**
   * 课程时间
   */
  // endTime: string;
  /**
   * 备注
   */
  semester: string;
  /**
   * 选择学期
   */
  // status: number;
}

/**
 * 提交课程表单类型
 */
export interface CourseForm {
  /**
   * 课程名
   */
  name: string;
  /**
   * 课程时间
   */
  endTime: string;
  /**
   * 选择学期
   */
  semester: string;
}
